package com.rc.saas.tenant.model.channel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseModel;
import com.rc.saas.tenant.vo.elec.RcEvaluateStatusConverter;

import java.util.Date;

public class RcChannelApply extends BaseModel {
    @ExcelProperty(value = "渠道商ID",index = 0)
    private Long channelApplyId;

    @ExcelProperty(value = "渠道商名称",index = 1)
    private String channelName;
    @ExcelIgnore
    private Long enterpriseId;
    @ExcelIgnore
    private Long memberId;

    @ExcelIgnore
    private String principal;

    @ExcelProperty(value = "电话",index = 5)
    private String mobile;
    @ExcelIgnore
    private String status;

    @ExcelProperty(value = "审核状态",index = 7,converter = RcEvaluateStatusConverter.class)
    private String applyStatus;
    @ExcelIgnore
    private String remark;
    @ExcelIgnore
    private String createdBy;
    @ExcelIgnore
    private String lastUpdatedBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "创建时间",index = 6)
    private Date createdTime;
    @ExcelIgnore
    private Date lastUpdatedTime;
    @ExcelIgnore
    private String address;
    @ExcelIgnore
    private String memberCard;
    @ExcelIgnore
    private String channelType;
    @ExcelIgnore
    private String channelLevel;

    public Long getChannelApplyId() {
        return channelApplyId;
    }

    public void setChannelApplyId(Long channelApplyId) {
        this.channelApplyId = channelApplyId;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(String applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMemberCard() {
        return memberCard;
    }

    public void setMemberCard(String memberCard) {
        this.memberCard = memberCard;
    }

    public String getChannelType() {
        return channelType;
    }

    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }

    public String getChannelLevel() {
        return channelLevel;
    }

    public void setChannelLevel(String channelLevel) {
        this.channelLevel = channelLevel;
    }
}
